﻿using System;

namespace Blader.UI
{
    public class MenuItem
    {
        private readonly string desc;
        private readonly Type handler;
        private readonly string name;
        private readonly string text;

        public MenuItem(string name, string text, string desc, Type type)
        {
            this.name = name;
            this.text = text;
            this.desc = desc;
            handler = type;
        }

        public string Desc
        {
            get { return desc; }
        }

        public string Name
        {
            get { return name; }
        }

        public string Text
        {
            get { return text; }
        }

        public Type Handler
        {
            get { return handler; }
        }
    }
}